//
//  BlueView.m
//  GitDemo
//
//  Created by 王强 on 16/1/26.
//  Copyright © 2016年 王强. All rights reserved.
//

#import "BlueView.h"

@implementation BlueView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setUpSubViews];
    }
    return self;
}

- (void)setUpSubViews
{
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];
    view.backgroundColor = [UIColor yellowColor];
    [self addSubview:view];
}

@end
